package com.itheima.pojo;

import java.io.Serializable;
import java.util.List;

/*
    健康干预:
 */
public class Intervention implements Serializable {

    private Integer id;//主键
    private String doctorAdvice;//医生建议
    private String doctorName;//医生姓名
    private Integer orderId;//预约订单id

    //一个健康干预有多个膳食建议
    private List<Food> foods;

    //一个健康干预有多个运动建议
    private List<Sport> sports;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDoctorAdvice() {
        return doctorAdvice;
    }

    public void setDoctorAdvice(String doctorAdvice) {
        this.doctorAdvice = doctorAdvice;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public List<Food> getFoods() {
        return foods;
    }

    public void setFoods(List<Food> foods) {
        this.foods = foods;
    }

    public List<Sport> getSports() {
        return sports;
    }

    public void setSports(List<Sport> sports) {
        this.sports = sports;
    }

    @Override
    public String toString() {
        return "Intervention{" +
                "id=" + id +
                ", doctorAdvice='" + doctorAdvice + '\'' +
                ", doctorName='" + doctorName + '\'' +
                ", orderId=" + orderId +
                ", foods=" + foods +
                ", sports=" + sports +
                '}';
    }
}
